const path=require('path')
let env = 'development' //

if(process.env.NODE_ENV  != undefined ){
    env =  'production';
}

let file=path.resolve(__dirname,`${env.toLowerCase()}ag`)

try {
    module.exports=require(file)
} catch (error) {
    throw error
}